package com.locationbasedagent.shared;

import java.util.List;

import com.google.web.bindery.requestfactory.shared.Request;
import com.google.web.bindery.requestfactory.shared.RequestContext;
import com.google.web.bindery.requestfactory.shared.ServiceName;

@ServiceName(value = "com.locationbasedagent.server.LocationBasedAgentService", locator = "com.locationbasedagent.server.LocationBasedAgentServiceLocator")
public interface LocationBasedAgentRequest extends RequestContext {

	Request<LocationBasedAgentUserProxy> createLocationBasedAgentUser();

	Request<LocationBasedAgentUserProxy> readLocationBasedAgentUser(Long id);

	Request<LocationBasedAgentUserProxy> updateLocationBasedAgentUser(
			LocationBasedAgentUserProxy locationbasedagentuser);

	Request<Void> deleteLocationBasedAgentUser(
			LocationBasedAgentUserProxy locationbasedagentuser);

	Request<List<LocationBasedAgentUserProxy>> queryLocationBasedAgentUsers();

	Request<HouseListingProxy> createHouseListing();

	Request<HouseListingProxy> readHouseListing(Long id);

	Request<HouseListingProxy> updateHouseListing(HouseListingProxy houselisting);

	Request<Void> deleteHouseListing(HouseListingProxy houselisting);

	Request<List<HouseListingProxy>> queryHouseListings();

}
